//
//  CheliangList.m
//  TheRoadAD
//
//  Created by baixue on 16/9/12.
//  Copyright © 2016年 baixue. All rights reserved.
//

#import "CheliangList.h"
#import "BSSquareCell.h"
//#import "ZLPhotoActionSheet.h"
@implementation CheliangList

//ZLPhotoActionSheet *actionSheet;

- (void)awakeFromNib {
//    actionSheet = [[ZLPhotoActionSheet alloc] init];
//    //设置照片最大选择数
//    actionSheet.maxSelectCount = 5;
//    //设置照片最大预览数
//    actionSheet.maxPreviewCount = 20;
//    
//    __weak typeof(self) weakSelf = self;
//    [actionSheet showWithSender:self animate:YES completion:^(NSArray<UIImage *> * _Nonnull selectPhotos) {
//        [weakSelf.backView.subviews makeObjectsPerformSelector:@selector(removeFromSuperview)];
//        
//        CGFloat width = [UIScreen mainScreen].bounds.size.width/4-2;
//        for (int i = 0; i < selectPhotos.count; i++) {
//            UIImageView *imgView = [[UIImageView alloc] initWithFrame:CGRectMake(i%4*(width+2), i/4*(width+2), width, width)];
//            imgView.image = selectPhotos[i];
//            [weakSelf.backView addSubview:imgView];
//            
//        }
//    }];

}





@end
